package com.lvhaosb.newpneumonia.web.controller;

import com.lvhaosb.newpneumonia.POJO.vo.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/hello")
    public Result sayHello(){
        return new Result(200,"请求成功","hello");
    }
}
